/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package application.model;

import java.io.Serializable;
//import java.util.ArrayList;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
//import javax.persistence.Transient;
//import javax.persistence.Table;

/**
 *
 * @author aa6345
 */
@Entity
public class EntitySearchResults implements Serializable{
    
    @Id
    @GeneratedValue
    @Column(name = "entityAccomplishmentID")
    private Long entityAccomplishmentID;

    @Column(name = "entityID")
    private Long entityID;

    @Column(name = "accompTypeID")
    private Long accompTypeID;

    @Column(name = "accompTitle")
    private String accompTitle;

    @Column(name = "accompTypeDescription")
    private String accompTypeDescription;

    @Column(name = "accompTypeWeight")
    private Double accompTypeWeight;

    @Column(name= "entityEmail")
    private String entityEmail;

    @Column(name= "entityFname")
    private String entityFname;    
    
    @Column(name= "entityMname")
    private String entityMname;
    
    @Column(name= "entitySname")
    private String entitySname;
    
    @Column(name= "entityActive")
    private String entityActive;
    
    @Column(name= "entityTypeDescription")
    private String entityTypeDescription;

    //TODO: Not sure if this is the correct way of doing.  This array list
    //is not part of SQL result but an additional attribute that holds a list of
    //keywords this entityID is associated with
    /*
    @Transient
    private ArrayList<String> keywordsOnly = new ArrayList<String>();
    */

    public EntitySearchResults() {
    }

    public Long getAccompTypeID() {
        return accompTypeID;
    }

    public void setAccompTypeID(Long accompTypeID) {
        this.accompTypeID = accompTypeID;
    }

    public String getAccompTypeDescription() {
        return accompTypeDescription;
    }

    public void setAccompTypeDescription(String description) {
        this.accompTypeDescription = description;
    }

    public Long getEntityAccomplishmentID() {
        return entityAccomplishmentID;
    }

    public void setEntityAccomplishmentID(Long entityAccomplishmentID) {
        this.entityAccomplishmentID = entityAccomplishmentID;
    }

    public Long getEntityID() {
        return entityID;
    }

    public void setEntityID(Long entityID) {
        this.entityID = entityID;
    }

    public Double getAccompTypeWeight() {
        return accompTypeWeight;
    }

    public void setAccompTypeWeight(Double typeWeight) {
        this.accompTypeWeight = typeWeight;
    }

    public String getAccompTitle() {
        return accompTitle;
    }

    public void setAccompTitle(String title) {
        this.accompTitle = title;
    }

    public String getEntityEmail() {
        return entityEmail;
    }

    public void setEntityEmail(String email) {
        this.entityEmail = email;
    }

    public String getEntityActive() {
        return entityActive;
    }

    public void setEntityActive(String entityActive) {
        this.entityActive = entityActive;
    }

    public String getEntityFname() {
        return entityFname;
    }

    public void setEntityFname(String entityFname) {
        this.entityFname = entityFname;
    }

    public String getEntityMname() {
        return entityMname;
    }

    public void setEntityMname(String entityMname) {
        this.entityMname = entityMname;
    }

    public String getEntitySname() {
        return entitySname;
    }

    public void setEntitySname(String entitySname) {
        this.entitySname = entitySname;
    }

    public String getEntityTypeDescription() {
        return entityTypeDescription;
    }

    public void setEntityTypeDescription(String entityTypeDescription) {
        this.entityTypeDescription = entityTypeDescription;
    }

    /*
    public ArrayList<String> getKeywordsOnly() {
        return keywordsOnly;
    }

    public void setKeywordsOnly(ArrayList<String> keywordsOnly) {
        this.keywordsOnly = keywordsOnly;
    }
     *
     */
}
